package com.addplus.townmall.server.api.model.town;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 分销会员提现表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("distribution_withdraw")
public class DistributionWithdraw extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城会员主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 提现名
     */
    @TableField("withdraw_name")
    private String withdrawName;
    /**
     * 提现账号
     */
    @TableField("withdraw_account")
    private String withdrawAccount;
    /**
     * 提现状态(0:待审核 1:待打款 2:已打款 3:驳回)
     */
    @TableField("withdraw_status")
    private Integer withdrawStatus;
    /**
     * 提现方式(0:支付宝 1:微信)
     */
    @TableField("withdraw_type")
    private Integer withdrawType;
    /**
     * 提现金额
     */
    private BigDecimal amount;
    /**
     * 申请时间
     */
    @TableField("apply_time")
    private Date applyTime;
    /**
     * 处理时间
     */
    @TableField("confirm_time")
    private Date confirmTime;
    /**
     * 付款时间
     */
    @TableField("pay_time")
    private Date payTime;
    /**
     * 付款流水号
     */
    @TableField("pay_no")
    private String payNo;
    /**
     * 备注
     */
    private String remark;
    /**
     * 手续费
     */
    private BigDecimal poundage;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;
    /**
     * 操作人员主键id
     */
    @TableField("modify_user")
    private Integer modifyUser;


}
